Pagini recente » Borderou de evaluare (job #197996) | Borderou de evaluare (job #2773328) | Borderou de evaluare (job #825671) | Borderou de evaluare (job #2417939) | Borderou de evaluare (job #1804591)
Borderou de evaluare (job #1804591)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < v[srt[i]].size(); j++)
^
user.cpp:71:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < t[srt[i]].size(); j++)
^
user.cpp:89:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j = 0; j < v[srt[i]].size(); j++)
^
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.in", "r", stdin);
^
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pm2.out", "w", stdout);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:31:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 0; i < n; i++) { scanf("%d", &costuri[i]); }
^
user.cpp:34:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ax);
^
user.cpp:37:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a); a--;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK! | 10 |
2 | 0ms | 272kb | OK! | 10 |
3 | 0ms | 272kb | OK! | 10 |
4 | 0ms | 272kb | OK! | 10 |
5 | 0ms | 328kb | OK! | 10 |
6 | 0ms | 332kb | OK! | 10 |
7 | 0ms | 272kb | OK! | 10 |
8 | 0ms | 276kb | OK! | 10 |
9 | 0ms | 284kb | OK! | 10 |
10 | 0ms | 276kb | OK! | 10 |
Punctaj total | 100 |