Pagini recente » Borderou de evaluare (job #1229392) | Borderou de evaluare (job #1124820) | Borderou de evaluare (job #219947) | Borderou de evaluare (job #751054) | Borderou de evaluare (job #1480057)
Borderou de evaluare (job #1480057)
Raport evaluator
Compilare:
user.cpp: In function ‘void make_graf()’:
user.cpp:58:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<init[i].size(); j++)
^
user.cpp: In function ‘int main()’:
user.cpp:248:31: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘bool*’ [-Wformat=]
fscanf(in,"%d",&prd[i]);
^
user.cpp:258:37: warning: narrowing conversion of ‘b’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[a].push_back(tipe{b,t,w});
^
user.cpp:258:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:258:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:259:37: warning: narrowing conversion of ‘a’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
init[b].push_back(tipe{a,t,w});
^
user.cpp:259:37: warning: narrowing conversion of ‘t’ from ‘int’ to ‘unsigned char’ inside { } [-Wnarrowing]
user.cpp:259:37: warning: narrowing conversion of ‘w’ from ‘int’ to ‘short unsigned int’ inside { } [-Wnarrowing]
user.cpp:244:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d",&n,&k);
^
user.cpp:248:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&prd[i]);
^
user.cpp:251:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d",&m);
^
user.cpp:257:42: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d%d%d%d",&a,&b,&t,&w);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1516kb | Time limit exceeded. | 0 |
2 | 100ms | 5736kb | OK | 10 |
3 | 72ms | 5764kb | OK | 10 |
4 | 96ms | 3676kb | OK | 10 |
5 | Depăşit | 5976kb | Time limit exceeded. | 0 |
6 | Depăşit | 5500kb | Time limit exceeded. | 0 |
7 | 100ms | 3136kb | OK | 10 |
8 | 4ms | 1544kb | OK | 10 |
9 | 0ms | 804kb | OK | 10 |
10 | 8ms | 1156kb | OK | 10 |
Punctaj total | 70 |